DX11 BUILD ROTATION MATRIX X

Builds a rotation matrix that rotates around the X-axis.
This can be combined through multiplication with matrices that rotate around the other axii.

  Syntax
Return Dword = DX11 BUILD ROTATION MATRIX X(angle, [resultMatrix])
  Parameters
angle
Float
The angle of rotation around the x-axis, in radians.
[Optional] resultMatrix
Dword
The matrix to write the created rotation matrix to. Can be omitted, in which case a temporary matrix holding the generated rotation matrix will be returned.

  Returns

The resultMatrix, if one was provided, or a newly created temporary matrix holding the resulting matrix otherwise.

  See also

MATH Functions Menu
DX11 Function Categories